<?php

/**
 *    订单扩展信息表
 *
 *    @author    Garbin
 *    @usage    none
 */
class OrderclearingModel extends BaseModel
{
    var $table  =   'order_clearing';
    var $alias  = 'order_c';
    var $prikey =   'id';
    var $_name  =   'orderclearing';
    var $_relation = array(
        'belongs_to_report_order'  => array(
            'type'          => BELONGS_TO,
            'reverse'       => 'has_orderclearing',
            'model'         => 'reportorder',
            'refer_key' => 'order_id',
            'foreign_key' => 'order_id',
        ),
    );
}

?>